package com.hnas.sys.service.system.domain;

import java.util.HashMap;
import java.util.Map;

public class OperateType {
	public static final int ADD = 1;
	public static final int DELETE = 2;
	public static final int MODIFY = 3;
	public static final int QUERY = 4;
	private static Map<Integer,String> map = new HashMap<Integer,String>();
	static{
		map.put(ADD, "增");
		map.put(DELETE, "删");
		map.put(MODIFY, "改");
		map.put(QUERY, "查");
	}
	public static String getOperateType(int type){
		return map.get(type);
	}
	public static Map<Integer,String> getOperateTypes(){
		return map;
	}
}
